<template>
  <div id="app">
    <div>
      <router-link active-class="active" to="/about">About</router-link>
      <br>
      <router-link active-class="active" to="/home">Home</router-link>
    </div>
     <el-button type="primary">主要按钮</el-button>
    <!-- <About />
    <Home /> -->
    <router-view></router-view>
  </div>
</template>

<script>
// import About from './components/About.vue'
// import Home from './components/Home.vue'

export default {
  name: 'App',
  components: {
    // About,
    // Home
  },
  data(){
    return {
    }
  },
}
</script>

<style scoped>
 .active {
   background: red;
 }
</style>

